package cn.lijiancn01.demo.framework.model;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Getter
@Setter
@Accessors(chain = true)
@NoArgsConstructor
public class BaseDO {
    @Id(keyType = KeyType.Auto)
    private Long id;
    
    /**
     * 备注
     */
    private String remark;
    
    /**
     * 创建者
     */
    private String creator;
    
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    
    /**
     * 更新者
     */
    private String updater;
    
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
    
    /**
     * 是否删除
     */
    private String deleted;
    
    /**
     * 删除时间
     */
    private LocalDateTime deletedTime;
}
